package bupt.party.online.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;


public interface IBaseDao<T> {
	public List<T> select(T beanObject);
	public boolean delete(T beanObject);
	public boolean insert(T beanObject);
	public boolean saveOrUpdate(T beanObject);
	public List<T> queryByCriteria(DetachedCriteria criteria);
}
